$.fn.oeSimpleSlider = function(o){
    var defaults = {
        'speed': 1000,
        'delay': 3000,
        'showController': false
    }
    var p = $.extend(defaults,o);
    var t = this;
    var timer = null;
    var isPlay = 1;

    var imgAnchor = t.children();
    if(imgAnchor.size() == 1) {return null} // Nothing to do!

    // Create Layout
    imgAnchor.slice(1).hide();
    t.append('<div class="oeImgBox"></div>');
    imgAnchor.appendTo('.oeImgBox');
    var box = t.children('.oeImgBox')

    // Let's Play: Next
    function next(){
        var c = box.children('img');
        c.eq(0).fadeOut(p.speed)
        .next('img')
        .fadeIn(p.speed);
        c.first('img').appendTo(box);
        stop(0);tiktak();
    }
    // Let's Play: Previous
    function prev(){
        var c = box.children('img');
        c.fadeOut(p.speed)
        .last('img')
        .fadeIn(p.speed);
        c.last('img').prependTo(box);
        stop(0);tiktak();
    }

    function pause(){timer&&clearTimeout(timer)} // Pause on Hover
    function tiktak(){if(isPlay){pause();timer=setTimeout(function(){next()},(p.delay + p.speed))}} // Countdown to play
    function stop(s){pause();isPlay=!s} // Stop at event moment

    tiktak(); // Trigger

    // Show Controller if TRUE
    if(p.showController) {
        navLayout = '<div class="oeNavHolder">'+
                        '<a href="javascript:void(0)" class="oeNavController prev">Prev</a>'+
                        '<a href="javascript:void(0)" class="oeNavController next">Next</a>'+
                    '</div>';
        t.append(navLayout);
        // Bind
        $('.oeNavController.prev').bind('click',function(){stop(1);prev();});
        $('.oeNavController.next').bind('click',function(){stop(1);next();});
    }
}

$.fn.oeGoner = function(o){
    // Variables
    var obj = this;
    var defaults = {
        'startFrom': 'body',
        'bottomBleed': 0
    }
    var p = $.extend(defaults,o);

    var oH = obj.outerHeight(true);
    // Start Point
    var sp = $(p.startFrom).offset().top + p.bottomBleed;
    // Catch this!
    $(window).scroll(function(){
        var scrTop = $(this).scrollTop();
        if (scrTop >= sp) {
            obj.addClass('animated');
        } else {
            obj.removeClass('animated');
        }
    });
}